﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace DDit.Component.Tools.weixin
{
    [XmlRoot(ElementName = "xml")]
    public class RevMessage
    {
        /// <summary>
        /// 消息id，64位整型
        /// </summary>
        public Int64 MsgId { set; get; }
        public string ToUserName { set; get; }
        public string FromUserName { set; get; }
        public int CreateTime { set; get; }
        public string MsgType { set; get; }
        public string Content { set; get; }
        public string PicUrl { set; get; }
        public string MediaId { set; get; }
        /// <summary>
        /// 语音格式，如amr，speex等
        /// </summary>
        public string Format { set; get; }
    }
}
